<?php

class Mageex_Robot_Model_Robot extends Mage_Core_Model_Abstract
{
    public function _construct()
    {
        parent::_construct();
        $this->_init('robot/robot');
    }
	
	public function getCampaignsAvailable()
	{
		$collection = $this->getCollection();
		$collection->addFieldToFilter('status', array('eq' => 1));
		$collection->addFieldToFilter('number_of_records', array('gt' => 0));
		
		return $collection;
	}
	public function processImport()
	{
		
	}
}